#ifndef ST_RTC_HPP
#define ST_RTC_HPP

#include "camellia/utils/RTC/RTC.hpp"

namespace ST {

class RTC : public ::RTC {
public:
    class Alarm : public ::RTC::Alarm {
    public:
        virtual bool setAlarmTime(Time time);
        virtual Time getAlarmTime(void);
    protected:
        Time time;
    };
public:
    static ST::RTC *getInstance(int rtc_number);
    static bool freeInstance(ST::RTC *instance);
};

}

#endif